package com.example.demo.admin.repository;

import com.example.demo.admin.bean.AdminBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminRepository extends JpaRepository<AdminBean,Long>{

    AdminBean findAdminBeanByUsername(String username);
}
